package com.ldy.thoughtWorks.question1;

import java.util.Set;

/**
 * 图节点<br>
 * 版权: Copyright (c) 2011-2018<br>
 * 公司: 活力天汇<br>
 *
 * @author: 刘德咏<br>
 * @date: 2018-07-25<br>
 */
public class Node {
    private Set<Route> routes;
    private String name;

    public Set<Route> getRoutes() {
        return routes;
    }

    public void setRoutes(Set<Route> routes) {
        this.routes = routes;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Node(String name) {
        this.name = name;
    }

    public Node() {
    }
}
